package com.hxzy.research.service.pageandmanager.impl;

import com.hxzy.research.mapper.TblBranchMapper;
import com.hxzy.research.pojo.TblBranch;
import com.hxzy.research.service.pageandmanager.PageBranch;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class PageBranchImpl implements PageBranch {
    @Autowired
    private TblBranchMapper tblBranchMapper;
    @Override
    public List<TblBranch> findAllBranch() throws Exception {
        return tblBranchMapper.selectAllBranch();
    }
}
